//
//  RMMShopingView.m
//  Romomo
//
//  Created by puman on 16/10/9.
//  Copyright © 2016年 mazegong. All rights reserved.
//

#import "RMMShopingView.h"

@implementation RMMShopingView
- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = kWhiteColor;
        UIImageView *imageV = [[UIImageView alloc] initWithFrame:CGRectMake(kScreenWideth / 2 - 60, self.height - 350, 120, 120)];
        imageV.image = [UIImage imageNamed:@"购物车-空@3x"];
        [self addSubview:imageV];
        
        UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, imageV.bottom + 12, kScreenWideth, 15)];
        label.textAlignment = NSTextAlignmentCenter;
        label.text = @"购物车还是空空的哦";
        label.font = kFont(14);
        label.textColor = COLORFROMCODE(0xBFBFBF, 1);
        [self addSubview:label];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
